import Vue from 'vue'
import App from './App.vue'
// import VueAxios from 'vue-axios'
import VueRouter from 'vue-router'
import router from './router'
// import axios from 'axios'
import Axios from './axios/request'
import store from './store'
import vant from 'vant'
import 'vant/lib/index.css';
import  * as api from './axios'
import './assets/font_2943783_tefxe4eipwq/iconfont.css'
import waterfall from 'vue-waterfall2'
import NavBar from '@/components/view/NavBar.vue'
import auth from './auth'
import EffectInput from 'effect-input'
import 'effect-input/dist/index.css'

Vue.use(EffectInput)
Vue.component('navBar',NavBar)
Vue.config.productionTip = false
Vue.prototype.$api=api
Vue.use(VueRouter)
// Vue.use(VueAxios,axios)
Vue.use(auth)
Vue.use(Axios)
Vue.use(vant)
Vue.use(waterfall)
new Vue({
  render: h => h(App),
  router,
  store,
  beforeCreate(){
    Vue.prototype.$bus=this
  }
}).$mount('#app')
